package com.xiaofei.demo.concurrent_beauty.ch3_thread_local_random;

import java.util.concurrent.ThreadLocalRandom;

public class ThreadLocalRandomExample {
    public static void main(String[] args) {
        ThreadLocalRandom t = ThreadLocalRandom.current();
        System.out.println(t.nextInt(50));
        System.out.println(t.nextInt(30,50));
    }
}
